package main.java.study.demo.eln;

import java.text.SimpleDateFormat;
import java.util.Date;

public class demo01 {
    public static void main(String[] args) {
        Integer a = 1;
        System.out.println(System.currentTimeMillis());
        long l = System.currentTimeMillis() + 30L * 24 * 60 * 60 * 1000;
        System.out.println(l);
        System.out.println(new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(new Date(l)));

    }
}
